package org.jeecg.modules.xindian.reconciliation.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.xindian.reconciliation.enums.SettlementState;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 业务员结算信息
 * @Author: jeecg-boot
 * @Date:   2024-04-11
 * @Version: V1.0
 */
@Data
@TableName("salesman_settlement_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="salesman_settlement_info对象", description="业务员结算信息")
public class SalesmanSettlementInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**结算的渠道*/
	@Excel(name = "结算的渠道", width = 15)
    @ApiModelProperty(value = "结算业务员名称")
    private java.lang.String salesman;
    /**结算的渠道*/
    @Excel(name = "结算的渠道", width = 15)
    @ApiModelProperty(value = "结算业务员id")
    private java.lang.String salesmanId;
	/**账单日期*/
	@Excel(name = "账单日期", width = 15)
    @ApiModelProperty(value = "账单日期")
    private String date;
	/**核对状态*/
    @Excel(name = "核对状态", width = 15, dicCode = "SC_ZDZT")
    @ApiModelProperty(value = "核对状态")
    @Dict(dicCode = "SC_ZDZT")
    private SettlementState state;
	/**保单数量*/
	@Excel(name = "保单数量", width = 15)
    @ApiModelProperty(value = "保单数量")
    private java.lang.Integer insuranceNum;
	/**保单总额*/
	@Excel(name = "保单总额", width = 15)
    @ApiModelProperty(value = "保单总额")
    private java.math.BigDecimal insuranceAmt;
	/**经纪费总额*/
	@Excel(name = "经纪费总额", width = 15)
    @ApiModelProperty(value = "经纪费总额")
    private java.math.BigDecimal benefit;
}
